package org.airlink.persistence.criteria.expressions
{
	import flex.persistence.criteria.Expression;
	import flex.persistence.criteria.Order;
	public class Desc implements Order
	{
		private var expression:Expression;
		public function Desc(expression:Expression)
		{
			this.expression = expression;
		}
		
		public function toString():String{
			return " order by " + expression.asValue() + " desc";
		}
		
		public function asValue():String{
			return this.toString();
		}
	}
}